package com.ccys.db.dto.masterData;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @program: WhiteCoat
 * @description: 分页查询用药周期接收Dto
 * @author: ZhangJingCan
 * @create: 2023-12-12 10:31
 **/

@Data
@ApiModel("分页查询用药周期接收Dto")
public class MedicationUsagePeriodPageQueryDto {

    @ApiModelProperty(value = "名称", name = "name", example = "名称模糊查询")
    private String name;

    @ApiModelProperty(value = "集团", name = "groupId", example = "集团ID/查询所有传null")
    private String groupId;

    @ApiModelProperty(value = "状态", name = "status", example = "状态:0-禁用，1-启用")
    private Integer status;

    @ApiModelProperty(value = "开始日期(时间戳)", name = "startCreateOn")
    private Long startCreateOn;

    @ApiModelProperty(value = "结束日期", name = "endCreateOn")
    private Long endCreateOn;

    @ApiModelProperty(value = "排序字段", name = "orderByStr", example = "排序字段(默认：tmup.created_on descend),tmup.name,tg.group_name,tmup.disp_order,tmup.status,ta.user_fullname,tmup.created_on")
    private String orderByStr;

}
